07. FSM Intuition

Which state in the vending machine example was the start state ?

SOLUTION: 0 cents

Which state(s) were accepting states ?

SOLUTION:
  • 25 cents

If we wanted this machine to also accept pennies (1 cent coin) how many additional states would we have to add?

SOLUTION: 20